package com.nl.controller.web.bean;


import com.nl.controller.web.util.SetBeanUtil;

public class SmsBaseStation {
    private String id;  //项目id
    private String name;  //项目名称
    private String regionId;  //区域id
    private String regionName;  //区域名称
    private String stationId;  //基站id
    private String stationName;  //项目名称
    private String cityId;    //城市编号
    private String cityName;  //城市名称
    private String createTime;  //创建时间
    private String modifyTime;  //修改时间
    private String bdLng;         //百度经度
    private String bdLat;         //百度纬度
    private String gpsLng;         //gps经度

    public String getGpsLat() {
        return gpsLat;
    }

    public void setGpsLat(String gpsLat) {
        this.gpsLat = gpsLat;
    }

    private String gpsLat;         //gps纬度
    private String remark;       //备注
    private String operatorTel;  //操作员号码
    private String state;
    private String stateName;

    public SmsBaseStation(String id, String regionId, String stationId, String cityId) {
        this.id = id;
        this.regionId = regionId;
        this.stationId = stationId;
        this.cityId = cityId;
    }
    public SmsBaseStation() {

    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStateName() {
        return SetBeanUtil.getMgrStatus(this.state);
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityName() {
        return SetBeanUtil.getCityName(this.cityId);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getCreateTime() {
         return SetBeanUtil.timeSubString(this.createTime);
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return SetBeanUtil.timeSubString(this.modifyTime);
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

	public String getBdLng() {
		return bdLng;
	}

    @Override
    public String toString() {
        return "SmsBaseStation{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", regionId='" + regionId + '\'' +
                ", regionName='" + regionName + '\'' +
                ", stationId='" + stationId + '\'' +
                ", stationName='" + stationName + '\'' +
                ", cityId='" + cityId + '\'' +
                ", cityName='" + cityName + '\'' +
                ", createTime='" + createTime + '\'' +
                ", modifyTime='" + modifyTime + '\'' +
                ", bdLng='" + bdLng + '\'' +
                ", bdLat='" + bdLat + '\'' +
                ", gpsLng='" + gpsLng + '\'' +
                ", gpsLat='" + gpsLat + '\'' +
                ", remark='" + remark + '\'' +
                ", operatorTel='" + operatorTel + '\'' +
                ", state='" + state + '\'' +
                ", stateName='" + stateName + '\'' +
                '}';
    }

    public String getGpsLng() {
        return gpsLng;
    }

    public void setGpsLng(String gpsLng) {
        this.gpsLng = gpsLng;
    }

    public void setBdLng(String bdLng) {
		this.bdLng = bdLng;
	}

	public String getBdLat() {
		return bdLat;
	}

	public void setBdLat(String bdLat) {
		this.bdLat = bdLat;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getOperatorTel() {
		return operatorTel;
	}

	public void setOperatorTel(String operatorTel) {
		this.operatorTel = operatorTel;
	}
}
